import request from '@/utils/request'


// 查询用户列表
export function getPersionList(query) {
  return request({
    url: "/mes/report/persion/getpersionsalarylist",
    method: 'get',
    params: query
  })
}


// 查询员工工资列表
export function getPersiondetailsList(query) {
  return request({
    url: "/mes/report/persion/getpersionsalarydetailslist",
    method: 'get',
    params: query
  })
}


/*查询工艺印刷的工资列表明细*/
export function getPrintdailyList(query) {
  return request({
    url: "/mes/report/persion/Printdaily",
    method: 'get',
    params: query
  })
}



// 导出纸张领用单列表
export function exportUseList(data) {
  return request({
    url: `/mes/report/persion/daochu`,
    method: "post",
    data,
    responseType: "blob",
  });
}


// 导出工资合计
export function exportUseListhj(data) {
  return request({
    url: `/mes/report/persion/daochuhj`,
    method: "post",
    data,
    responseType: "blob",
  });
}

// 导出明细
export function exportprint(data) {
  return request({
    url: `/mes/report/persion/exportprint`,
    method: "post",
    data,
    responseType: "blob",
  });
}


